home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / os2 / gnuwget.zip / wget-1.4.3 / windows / config.h.ms next >
Text File  |  1997-01-18  |  6KB  |  209 lines

  1. /* Configuration header file.
  2.    Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
  3.    
  4.    This program is free software; you can redistribute it and/or modify
  5.    it under the terms of the GNU General Public License as published by
  6.    the Free Software Foundation; either version 2 of the License, or
  7.    (at your option) any later version.
  8.    
  9.    This program is distributed in the hope that it will be useful,
  10.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.    GNU General Public License for more details.
  13.    
  14.    You should have received a copy of the GNU General Public License
  15.    along with this program; if not, write to the Free Software
  16.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  17.  
  18.  
  19. #ifndef CONFIG_H
  20. #define CONFIG_H
  21.  
  22. /***
  23.  * User Configuration Section
  24.  *
  25.  * Most of these settings should work as they are, and you should fix
  26.  * them only if you wish to change the behaviour of the program, or to
  27.  * compile it on a particular system.
  28.  *
  29.  * Global settings like DEFAULT_MAXRECLEVEL or DEFAULT_NUMBER_OF_TRIES
  30.  * should be rather changed in the global wgetrc file than here.  But
  31.  * still -- you can do it.
  32.  ***/
  33.  
  34. /* Define SYSTEM_WGETRC to a value you wish to use. */
  35. #undef SYSTEM_WGETRC
  36.  
  37. /* Define NO_RECURSION if you do not wish to install recursion
  38.    capability on your system. */
  39. #undef NO_RECURSION
  40.  
  41. /* Define this as read timeout. */
  42. #define DEFAULT_TIMEOUT 900
  43.  
  44. /* Define your own host and domain. */
  45. #undef MY_HOST
  46. #undef MY_DOMAIN
  47.  
  48. #define DEFAULT_LOGFILE "wget-log"
  49.  
  50. #define DEFAULT_FILE_PREFIX "received" /* modified with -f */
  51.  
  52. #define DEFAULT_NUMBER_OF_TRIES 20     /* modified with -t */
  53.  
  54. #define DEFAULT_MAXRECLEVEL 5          /* modified with -l */
  55.  
  56. #define DEFAULT_DIRMODE 0755           /* modified with dir_mode */
  57.  
  58. #define DEFAULT_DIRPREFIX "."          /* modified with -P */
  59.  
  60. /* define if you want to switch wget to background with
  61.     Control+C keystroke - WINDOWS only */
  62. #undef CTRLC_BACKGND
  63.  
  64. /* define if you want to switch wget to background with
  65.     Control+Break keystroke - WINDOWS only */
  66. #define CTRLBREAK_BACKGND
  67.  
  68. /* Undef if you do not want debug support. */
  69. #define DEBUG
  70.  
  71. /***********************************
  72.   End of user-configuration section
  73.   ***********************************/
  74.  
  75.  
  76.  
  77. #ifndef DEBUG
  78. #  define NDEBUG /* To kill off assertions */
  79. #endif /* DEBUG */
  80.  
  81. /* Define if on AIX 3.
  82.    System headers sometimes define this.
  83.    We just want to avoid a redefinition error message.  */
  84. #ifndef _ALL_SOURCE
  85. #undef _ALL_SOURCE
  86. #endif
  87.  
  88. /* Define to empty if the keyword does not work.  */
  89. #undef const
  90.  
  91. /* Define to `unsigned' if <sys/types.h> doesn't define.  */
  92. #undef size_t
  93.  
  94. /* Define if you have the ANSI C header files.  */
  95. #define STDC_HEADERS
  96.  
  97. /* Define as the return type of signal handlers (int or void).  */
  98. #undef RETSIGTYPE
  99.  
  100. /* Define if you have sys/time.h header. */
  101. #define HAVE_SYS_TIME_H
  102.  
  103. /* Define if you can safely include both <sys/time.h> and <time.h>.  */
  104. #define TIME_WITH_SYS_TIME
  105.  
  106. /* Define if you have the getdomainname function.  */
  107. #undef HAVE_GETDOMAINNAME
  108.  
  109. /* Define if you have the gethostname function.  */
  110. #define HAVE_GETHOSTNAME
  111.  
  112. /* Define if you have the select function.  */
  113. #define HAVE_SELECT
  114.  
  115. #define HAVE_STRUCT_UTIMBUF
  116.  
  117. /* Define if you have the gettimeofday function.  */
  118. #undef HAVE_GETTIMEOFDAY
  119.  
  120. /* Define if you have the strdup function.  */
  121. #define HAVE_STRDUP
  122.  
  123. /* Define if you have the sys/utsname.h header. */
  124. #undef HAVE_SYS_UTSNAME_H
  125.  
  126. /* Define if you have the sys/systeminfo.h header. */
  127. #undef HAVE_SYS_SYSTEMINFO_H
  128.  
  129. /* Define if you have the sysinfo function.  */
  130. #undef HAVE_SYSINFO
  131.  
  132. /* Define if you have the strerror function. */
  133. #define HAVE_STRERROR
  134.  
  135. /* Define if you have the strstr function. */
  136. #define HAVE_STRSTR
  137.  
  138. /* Define if you have the strcasecmp function. */
  139. #undef HAVE_STRCASECMP
  140.  
  141. /* Define if you have the strncasecmp function. */
  142. #undef HAVE_STRNCASECMP
  143.  
  144. /* Define if you have the strptime function. */
  145. #define HAVE_STRPTIME
  146.  
  147. /* Define if you have the symlink function. */
  148. #undef HAVE_SYMLINK
  149.  
  150. /* Define if you have the signal function. */
  151. #undef HAVE_SIGNAL
  152.  
  153. /* Define if you have the <string.h> header file.  */
  154. #define HAVE_STRING_H
  155.  
  156. /* Define if you have the <unistd.h> header file.  */
  157. #undef HAVE_UNISTD_H
  158.  
  159. /* Define if you have the <utime.h> header file.  */
  160. #undef HAVE_UTIME_H
  161.  
  162. /* Define if you have the <sys/utime.h> header file.  */
  163. #define HAVE_SYS_UTIME_H
  164.  
  165. /* Define if you have the <sys/select.h> header file.  */
  166. #undef HAVE_SYS_SELECT_H
  167.  
  168. /* Define if you have the <pwd.h> header file.  */
  169. #undef HAVE_PWD_H
  170.  
  171. /* Define if you have the <signal.h> header file.  */
  172. #undef HAVE_SIGNAL_H
  173.  
  174. /* Define to be the name of the operating system.  */
  175. #define OS_TYPE "Windows"
  176.  
  177. /* Define if you wish to compile with socks support.  */
  178. #undef HAVE_SOCKS
  179.  
  180. /* Define to 1 if ANSI function prototypes are usable.  */
  181. #undef PROTOTYPES
  182.  
  183. /* If the user has socks, use it.  */
  184. #ifdef HAVE_SOCKS
  185. #define connect Rconnect
  186. #define getsockname Rgetsockname
  187. #define bind Rbind
  188. #define accept Raccept
  189. #define listen Rlisten
  190. #define select Rselect
  191. #endif /* HAVE_SOCKS */
  192.  
  193. /* SunOS brain damage... */
  194. #ifndef STDC_HEADERS
  195. char *strstr();
  196. char *strchr();
  197. void *memcpy();
  198. #endif /* STDC_HEADERS */
  199.  
  200. #ifndef HAVE_STRERROR
  201. #  define mystrerror(x) (sys_errlist[x])
  202. extern char *sys_errlist[];
  203. #else /* not HAVE_STRERROR */
  204. #  define mystrerror(x) strerror(x)
  205. #endif /* HAVE_STRERROR */
  206.  
  207.  
  208. #endif /* CONFIG_H */
  209.